home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1999 July / macformat-079.iso / Shareware Plus / Development / ObjectPlant / Code Generation templates ƒ / C++CWTemplate.cp next >
Encoding:
Text File  |  1999-01-11  |  1.8 KB  |  44 lines  |  [TEXT/CWIE]

  1. {CLASS}
  2. "/*\tCopyright© 1999 Your Name/Company. All rights reserved\r\r"
  3. "--------------------------------------------------------------------------------\r\r"
  4. "FILE:\t\t\t\t\t\t"{CLASSNAME}".cp\r\r"
  5. "CLASSES:\t\t\t\t\t"{CLASSNAME}"\r\r"
  6. "DESCRIPTION:\t\t\t\t"{DESCRIPTION}"\r\r"
  7. "AUTHOR:\t\t\t\t\t\t"{PROGRAMMER}"\r\r"
  8. "FILE CREATION DATE:\t\t\t"{DATETIMESTAMP}"\r\r"
  9. "CLASS CREATION DATE:\t\t"{DATECREATED}"\r\r"
  10. "CLASS LAST MODIFIED:\t\t"{DATEMODIFIED}"\r\r"
  11. "CHANGE HISTORY :\r\r"
  12. {USERCODE}
  13. "\r--------------------------------------------------------------------------------\r*/\r"
  14. "#include\t\""{DOCUMENTNAME}".h\""
  15. "#include\t\""{CLASSNAME}".h\"\r\r\r"
  16. "//Include declarations of Associations classes\r"
  17. {ASSOCLIST}"#include\t<"{ASSOCCLASSNAME}".h>\r#include\t\<"{END}".h>"{/ASSOCLIST}
  18. "//Include declarations of aggregation classes of which this class is a part of\r"
  19. {PARTOFLIST}"#include\t<"{AGGREGATENAME}".h>\r#include\t<"{END}".h>"{/PARTOFLIST}
  20. "//Include declarations of aggregation classes which this class consists of\r"
  21. {CONSISTOFLIST}"#include\t<"{AGGREGATENAME}".h>\r#include\t<"{END}".h>"{/CONSISTOFLIST}
  22.  
  23. {USERCODE}
  24. {FILENAME}{SUBSYSTEM}":"{/SUBSYSTEM}{CLASSNAME}.cp{/FILENAME}
  25. {ATTRIBUTE}
  26. {STATIC}{TYPE}"\t"{CLASSNAME}::{NAME}{INITIALVALUE}" = "{VALUE}{/INITIALVALUE}";\r"{END}"\r\r"{/STATIC}{/ATTRIBUTE}
  27.  
  28. {OPERATION}
  29. {!ABSTRACT}
  30. "// ---------------------------------------------------------------------------\r"
  31. "//\t\t"{RETURNTYPE}"\t"{CLASSNAME}::{NAME}({PARAMETER}" "{TYPE} {NAME}", "{END}" "{/PARAMETER}")"{CONST}" const"{/CONST}
  32. "// ---------------------------------------------------------------------------\r"
  33. "//\r"
  34. "/* "{DESCRIPTION} "*/"
  35. {SIGNATURE}
  36.  
  37. {RETURNTYPE}"\r"{CLASSNAME}::{NAME}({PARAMETER}" "{TYPE} {NAME}", "{END}" "{/PARAMETER}")"{CONST}" const"{/CONST}
  38. {CONSTRUCTOR}{USERINIT}{/CONSTRUCTOR}
  39. {
  40. {USERCODE}
  41. }
  42. {/!ABSTRACT}{/OPERATION}
  43. {/CLASS}
  44.